<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <div id="login2">
        
           <div id="loginheading2">
                Ricerca nel catalogo
            </div>
            <div id="logintxtblank2">
  
            <s:form action="ricerca">
                <table>
                    <tr>
                        <td>Articolo:</td>
                        <td>
                            <s:textfield name="searchArticolo" cssClass="input" theme="simple" />
                        </td>
                        <td>Categoria:</td>
		                <td>
                            <s:select headerKey='-1' 
                            headerValue="Tutte le categorie" 
                            list="#session.categorie" 
                            listKey="idCategoria" 
                            listValue="nome" 
                            name="searchCategoria" 
                            theme="simple"/>
                        </td>
                    </tr>
                    <tr>
                        <td>Prezzo Minimo:</td>
                        <td>
                            <s:textfield name="searchMin" 
                            cssClass="input" 
                            theme="simple" />
                        </td>
                        <td>Prezzo Massimo:</td>
                        <td>
                            <s:textfield name="searchMax" 
                            cssClass="input" 
                            theme="simple"/>
                        </td>
                    </tr>
                    <tr>
                        <td>Inserzionista:</td>
                        <td>
	                        <s:select headerKey="-1" 
	                        headerValue="Tutti gli utenti" 
	                        list="#session.inserzionisti" 
	                        listKey="idUtente" 
	                        listValue="cognomeNome" 
	                        name="searchInserzionista" 
	                        theme="simple"/>
                        </td>
                        <td>&nbsp;</td>
                        <td><s:submit value="Cerca" theme="simple"/></td>
                    </tr>
                </table>
            </s:form>
           
        </div>        
    </div>